package com.hospital.new_yygh.entity.other;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hospital.new_yygh.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "挂号表")
@TableName("sche")
public class Sche extends BaseEntity {
    @ApiModelProperty(value = "医生编号")
    private Long doctorId;
    @TableField("doctorName")
    @ApiModelProperty(value = "医生姓名")
    private String doctorName;
    @TableField("ksId")
    @ApiModelProperty(value = "科室编号")
    private String ksId;
    @TableField("ksName")
    @ApiModelProperty(value = "科室名称")
    private String ksName;
    @ApiModelProperty(value = "安排日期")
    @TableField("work_date")
    private String workDate;
    @ApiModelProperty(value = "安排时间（0：上午 1：下午）")
    @TableField("work_time")
    private Integer workTime;
    @ApiModelProperty(value = "可预约数")
    @TableField("reserved_number")
    private Integer reservedNumber;
    @ApiModelProperty(value = "剩余预约数")
    @TableField("available_number")
    private Integer availableNumber;
    @ApiModelProperty(value = "排班状态（-1：停诊 0：停约 1：可约）")
    @TableField("status")
    private Integer status;
}
